package cc.lj.internal.coupons.domain.ticket.model.vo.convert;

import cc.lj.internal.coupons.domain.ticket.model.vo.TicketBatchLifecycleContinueDO;
import cc.lj.internal.coupons.infrastructure.po.TicketBatchLifecycleContinuePO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 电子券批次表连续有效期PO 与 DO之间的转换
 * @author liangxifeng
 * @date 2021-12-20
 */
@Mapper
public interface TicketBatchLifecycleContinuePOConvertDO {
    TicketBatchLifecycleContinuePOConvertDO INSTANCE = Mappers.getMapper(TicketBatchLifecycleContinuePOConvertDO.class);
    //do to po
    TicketBatchLifecycleContinuePO convert(TicketBatchLifecycleContinueDO ticketBatchLifecycleContinueDO);

    //po to do
    TicketBatchLifecycleContinueDO convert(TicketBatchLifecycleContinuePO ticketBatchLifecycleContinuePO);
}
